package cn.com.surker.enums.mes;

import cn.com.surker.enums.IDescription;

/**
 * @Author lucky
 * @create 2023年08月18 14:15
 * @desc
 */
public enum ProductionStatus implements IDescription {

    WAIT(0,"待生产"),
    PRODUCTION(1,"生产中"),
    OUT_STORE(2,"出库"),
    STORE(3,"在库中"),
    SUCCESS(4,"已交付"),
    CANCEL(5,"作废"),
    CHANGE(6,"退换");

    private final String description;

    private final Integer code;

    ProductionStatus(Integer code, String description) {
        this.description = description;
        this.code = code;
    }

    @Override
    public String getDescription() {
        return description;
    }

    public Integer getCode() {return code;}
}